<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>Response | opine</title>
	<meta name="description" content="Documentation for opine">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">opine</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-only-exported" />
							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="../modules/_response_.html">&quot;response&quot;</a>
				</li>
				<li>
					<a href="_response_.response.html">Response</a>
				</li>
			</ul>
			<h1>Class Response</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p>OpineResponse class.</p>
					</div>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<span class="target">Response</span>
					</li>
				</ul>
			</section>
			<section class="tsd-panel">
				<h3>Implements</h3>
				<ul class="tsd-hierarchy">
					<li><a href="../interfaces/_types_.opineresponse.html" class="tsd-signature-type">OpineResponse</a></li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Properties</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_response_.response.html#_resources" class="tsd-kind-icon">#resources</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_response_.response.html#app" class="tsd-kind-icon">app</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_response_.response.html#body" class="tsd-kind-icon">body</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_response_.response.html#headers" class="tsd-kind-icon">headers</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_response_.response.html#locals" class="tsd-kind-icon">locals</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_response_.response.html#req" class="tsd-kind-icon">req</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_response_.response.html#status" class="tsd-kind-icon">status</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_response_.response.html#written" class="tsd-kind-icon">written</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#addresource" class="tsd-kind-icon">add<wbr>Resource</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#append" class="tsd-kind-icon">append</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#attachment" class="tsd-kind-icon">attachment</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#clearcookie" class="tsd-kind-icon">clear<wbr>Cookie</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#cookie" class="tsd-kind-icon">cookie</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#download" class="tsd-kind-icon">download</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#end" class="tsd-kind-icon">end</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#etag" class="tsd-kind-icon">etag</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#format" class="tsd-kind-icon">format</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#get" class="tsd-kind-icon">get</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#json" class="tsd-kind-icon">json</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#jsonp" class="tsd-kind-icon">jsonp</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#links" class="tsd-kind-icon">links</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#location" class="tsd-kind-icon">location</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#redirect" class="tsd-kind-icon">redirect</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#removeheader" class="tsd-kind-icon">remove<wbr>Header</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#render" class="tsd-kind-icon">render</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#send" class="tsd-kind-icon">send</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#sendfile" class="tsd-kind-icon">send<wbr>File</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#sendstatus" class="tsd-kind-icon">send<wbr>Status</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#set" class="tsd-kind-icon">set</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#setheader" class="tsd-kind-icon">set<wbr>Header</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#setstatus" class="tsd-kind-icon">set<wbr>Status</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#type" class="tsd-kind-icon">type</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#unset" class="tsd-kind-icon">unset</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_response_.response.html#vary" class="tsd-kind-icon">vary</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Properties</h2>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
					<a name="_resources" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagPrivate">Private</span> #resources</h3>
					<div class="tsd-signature tsd-kind-icon">#resources<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L49">home/runner/work/opine/opine/src/response.ts:49</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="app" class="tsd-anchor"></a>
					<h3>app</h3>
					<div class="tsd-signature tsd-kind-icon">app<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_types_.application.html" class="tsd-signature-type">Application</a></div>
					<aside class="tsd-sources">
						<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#app">app</a></p>
						<ul>
							<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L45">home/runner/work/opine/opine/src/response.ts:45</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="body" class="tsd-anchor"></a>
					<h3>body</h3>
					<div class="tsd-signature tsd-kind-icon">body<span class="tsd-signature-symbol">:</span> <a href="../modules/_types_.html#denoresponsebody" class="tsd-signature-type">DenoResponseBody</a></div>
					<aside class="tsd-sources">
						<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#body">body</a></p>
						<ul>
							<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L44">home/runner/work/opine/opine/src/response.ts:44</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="headers" class="tsd-anchor"></a>
					<h3>headers</h3>
					<div class="tsd-signature tsd-kind-icon">headers<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Headers</span><span class="tsd-signature-symbol"> = new Headers()</span></div>
					<aside class="tsd-sources">
						<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#headers">headers</a></p>
						<ul>
							<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L42">home/runner/work/opine/opine/src/response.ts:42</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="locals" class="tsd-anchor"></a>
					<h3>locals</h3>
					<div class="tsd-signature tsd-kind-icon">locals<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div>
					<aside class="tsd-sources">
						<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#locals">locals</a></p>
						<ul>
							<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L47">home/runner/work/opine/opine/src/response.ts:47</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="req" class="tsd-anchor"></a>
					<h3>req</h3>
					<div class="tsd-signature tsd-kind-icon">req<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_types_.opinerequest.html" class="tsd-signature-type">OpineRequest</a></div>
					<aside class="tsd-sources">
						<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#req">req</a></p>
						<ul>
							<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L46">home/runner/work/opine/opine/src/response.ts:46</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="status" class="tsd-anchor"></a>
					<h3>status</h3>
					<div class="tsd-signature tsd-kind-icon">status<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Status</span><span class="tsd-signature-symbol"> = 200</span></div>
					<aside class="tsd-sources">
						<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#status">status</a></p>
						<ul>
							<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L41">home/runner/work/opine/opine/src/response.ts:41</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="written" class="tsd-anchor"></a>
					<h3>written</h3>
					<div class="tsd-signature tsd-kind-icon">written<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div>
					<aside class="tsd-sources">
						<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#written">written</a></p>
						<ul>
							<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L43">home/runner/work/opine/opine/src/response.ts:43</a></li>
						</ul>
					</aside>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="addresource" class="tsd-anchor"></a>
					<h3>add<wbr>Resource</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">add<wbr>Resource<span class="tsd-signature-symbol">(</span>rid<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#addresource">addResource</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L58">home/runner/work/opine/opine/src/response.ts:58</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Add a resource ID to the list of resources to be
									closed after the .end() method has been called.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>rid: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>Resource ID</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="append" class="tsd-anchor"></a>
					<h3>append</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">append<span class="tsd-signature-symbol">(</span>field<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#append">append</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L77">home/runner/work/opine/opine/src/response.ts:77</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Append additional header <code>field</code> with value <code>val</code>.
									Value can be either a <code>string</code> or an array of <code>string</code>.</p>
								</div>
								<p>Example:</p>
								<p>   res.append(&#39;Set-Cookie&#39;, &#39;foo=bar; Path=/; HttpOnly&#39;);
									res.append(&#39;Warning&#39;, &#39;199 Miscellaneous warning&#39;);
								res.append(&quot;cache-control&quot;, [&quot;public&quot;, &quot;max-age=604800&quot;, &quot;immutable&quot;]);</p>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>field: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5>value: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
							<p>for chaining</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="attachment" class="tsd-anchor"></a>
					<h3>attachment</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">attachment<span class="tsd-signature-symbol">(</span>filename<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#attachment">attachment</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L96">home/runner/work/opine/opine/src/response.ts:96</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set <em>Content-Disposition</em> header to <em>attachment</em> with optional <code>filename</code>.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>filename: <span class="tsd-signature-type">string</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
							<p>for chaining</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="clearcookie" class="tsd-anchor"></a>
					<h3>clear<wbr>Cookie</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">clear<wbr>Cookie<span class="tsd-signature-symbol">(</span>cookie<span class="tsd-signature-symbol">: </span><a href="../modules/_types_.html#cookiewithoptionalvalue" class="tsd-signature-type">CookieWithOptionalValue</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
						<li class="tsd-signature tsd-kind-icon">clear<wbr>Cookie<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">?: </span><a href="../modules/_types_.html#cookieoptions" class="tsd-signature-type">CookieOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#clearcookie">clearCookie</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L154">home/runner/work/opine/opine/src/response.ts:154</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Clear a cookie.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>cookie: <a href="../modules/_types_.html#cookiewithoptionalvalue" class="tsd-signature-type">CookieWithOptionalValue</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
							<p>for chaining</p>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#clearcookie">clearCookie</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L155">home/runner/work/opine/opine/src/response.ts:155</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>name: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../modules/_types_.html#cookieoptions" class="tsd-signature-type">CookieOptions</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="cookie" class="tsd-anchor"></a>
					<h3>cookie</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">cookie<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">: </span><a href="../modules/_types_.html#cookieoptions" class="tsd-signature-type">CookieOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
						<li class="tsd-signature tsd-kind-icon">cookie<span class="tsd-signature-symbol">(</span>cookie<span class="tsd-signature-symbol">: </span><a href="../interfaces/_types_.cookie.html" class="tsd-signature-type">Cookie</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#cookie">cookie</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L118">home/runner/work/opine/opine/src/response.ts:118</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set a cookie. Sets the cookie path to &quot;/&quot; if not defined.</p>
								</div>
								<p>Examples:</p>
								<p>   // &quot;Remember Me&quot; for 15 minutes
								res.cookie({ name: &quot;rememberme&quot;, value: &quot;1&quot;, expires: new Date(Date.now() + 900000), httpOnly: true });</p>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>name: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5>value: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5>options: <a href="../modules/_types_.html#cookieoptions" class="tsd-signature-type">CookieOptions</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
							<p>for chaining</p>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#cookie">cookie</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L119">home/runner/work/opine/opine/src/response.ts:119</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>cookie: <a href="../interfaces/_types_.cookie.html" class="tsd-signature-type">Cookie</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="download" class="tsd-anchor"></a>
					<h3>download</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">download<span class="tsd-signature-symbol">(</span>path<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, filename<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">this</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#download">download</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L204">home/runner/work/opine/opine/src/response.ts:204</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Transfer the file at the given <code>path</code> as an attachment.</p>
								</div>
								<p>Optionally providing an alternate attachment <code>filename</code>.</p>
								<p>Optionally providing an <code>options</code> object to use with <code>res.sendFile()</code>.</p>
								<p>This function will set the <code>Content-Disposition</code> header, overriding
									any existing <code>Content-Disposition</code> header in order to set the attachment
								and filename.</p>
								<p>This method uses <code>res.sendFile()</code>.</p>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>path: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> filename: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <span class="tsd-signature-type">any</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">this</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="end" class="tsd-anchor"></a>
					<h3>end</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">end<span class="tsd-signature-symbol">(</span>body<span class="tsd-signature-symbol">?: </span><a href="../modules/_types_.html#denoresponsebody" class="tsd-signature-type">DenoResponseBody</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#end">end</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L247">home/runner/work/opine/opine/src/response.ts:247</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Ends the response process.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> body: <a href="../modules/_types_.html#denoresponsebody" class="tsd-signature-type">DenoResponseBody</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="etag" class="tsd-anchor"></a>
					<h3>etag</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">etag<span class="tsd-signature-symbol">(</span>chunk<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Deno.FileInfo</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#etag">etag</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L287">home/runner/work/opine/opine/src/response.ts:287</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Sets an ETag header.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>chunk: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Deno.FileInfo</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
							<p>for chaining</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="format" class="tsd-anchor"></a>
					<h3>format</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">format<span class="tsd-signature-symbol">(</span>obj<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#format">format</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L357">home/runner/work/opine/opine/src/response.ts:357</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Respond to the Acceptable formats using an <code>obj</code>
									of mime-type callbacks.</p>
								</div>
								<p>This method uses <code>req.accepted</code>, an array of
									acceptable types ordered by their quality values.
									When &quot;Accept&quot; is not present the <em>first</em> callback
									is invoked, otherwise the first match is used. When
									no match is performed the server responds with
								406 &quot;Not Acceptable&quot;.</p>
								<p>Content-Type is set for you, however if you choose
									you may alter this within the callback using <code>res.type()</code>
								or <code>res.set(&#39;Content-Type&#39;, ...)</code>.</p>
								<p>   res.format({
									&#39;text/plain&#39;: function(){
									res.send(&#39;hey&#39;);
								},</p>
								<pre><code> <span class="hljs-string">&#x27;text/html&#x27;</span>: <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">()</span></span>{
   res.send(<span class="hljs-string">&#x27;&lt;p&gt;hey&lt;/p&gt;&#x27;</span>);
 },

 <span class="hljs-string">&#x27;application/json&#x27;</span>: <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">()</span></span>{
   res.send({ message: <span class="hljs-string">&#x27;hey&#x27;</span> });
 }
</code></pre>
								<p>   });</p>
								<p>In addition to canonicalized MIME types you may
								also use extnames mapped to these types:</p>
								<p>   res.format({
									text: function(){
									res.send(&#39;hey&#39;);
								},</p>
								<pre><code> <span class="hljs-selector-tag">html</span>: <span class="hljs-built_in">function</span>(){
   res.<span class="hljs-built_in">send</span>(<span class="hljs-string">&#x27;&lt;p&gt;hey&lt;/p&gt;&#x27;</span>);
 },

 json: <span class="hljs-built_in">function</span>(){
   res.<span class="hljs-built_in">send</span>({ message: <span class="hljs-string">&#x27;hey&#x27;</span> });
 }
</code></pre>
								<p>   });</p>
								<p>By default Express passes an <code>Error</code>
									with a <code>.status</code> of 406 to <code>next(err)</code>
									if a match is not made. If you provide
									a <code>.default</code> callback it will be invoked
								instead.</p>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>obj: <span class="tsd-signature-type">any</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
							<p>for chaining</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="get" class="tsd-anchor"></a>
					<h3>get</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<span class="tsd-signature-symbol">(</span>field<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#get">get</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L393">home/runner/work/opine/opine/src/response.ts:393</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Get value for header <code>field</code>.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>field: <span class="tsd-signature-type">string</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>the header</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="json" class="tsd-anchor"></a>
					<h3>json</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">json<span class="tsd-signature-symbol">(</span>body<span class="tsd-signature-symbol">: </span><a href="../modules/_types_.html#responsebody" class="tsd-signature-type">ResponseBody</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L409">home/runner/work/opine/opine/src/response.ts:409</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Send JSON response.</p>
								</div>
								<p>Examples:</p>
								<pre><code>res.json(<span class="hljs-keyword">null</span>);
res.json({ <span class="hljs-keyword">user</span>: <span class="hljs-string">&#x27;deno&#x27;</span> });
</code></pre>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>body: <a href="../modules/_types_.html#responsebody" class="tsd-signature-type">ResponseBody</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
							<p>for chaining</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="jsonp" class="tsd-anchor"></a>
					<h3>jsonp</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">jsonp<span class="tsd-signature-symbol">(</span>body<span class="tsd-signature-symbol">: </span><a href="../modules/_types_.html#responsebody" class="tsd-signature-type">ResponseBody</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L435">home/runner/work/opine/opine/src/response.ts:435</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Send JSON response with JSONP callback support.</p>
								</div>
								<p>Examples:</p>
								<pre><code>res.jsonp(<span class="hljs-keyword">null</span>);
res.jsonp({ <span class="hljs-keyword">user</span>: <span class="hljs-string">&#x27;deno&#x27;</span> });
</code></pre>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>body: <a href="../modules/_types_.html#responsebody" class="tsd-signature-type">ResponseBody</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
							<p>for chaining</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="links" class="tsd-anchor"></a>
					<h3>links</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">links<span class="tsd-signature-symbol">(</span>links<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#links">links</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L485">home/runner/work/opine/opine/src/response.ts:485</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set Link header field with the given <code>links</code>.</p>
								</div>
								<p>Examples:</p>
								<p>   res.links({
									next: &#39;<a href="http://api.example.com/users?page=2&#39;">http://api.example.com/users?page=2&#39;</a>,
									last: &#39;<a href="http://api.example.com/users?page=5&#39;">http://api.example.com/users?page=5&#39;</a>
								});</p>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>links: <span class="tsd-signature-type">any</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
							<p>for chaining</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="location" class="tsd-anchor"></a>
					<h3>location</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">location<span class="tsd-signature-symbol">(</span>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#location">location</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L515">home/runner/work/opine/opine/src/response.ts:515</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the location header to <code>url</code>.</p>
								</div>
								<p>The given <code>url</code> can also be &quot;back&quot;, which redirects
								to the <em>Referrer</em> or <em>Referer</em> headers or &quot;/&quot;.</p>
								<p>Examples:</p>
								<p>   res.location(&#39;/foo/bar&#39;).;
									res.location(&#39;<a href="http://example.com&#39;">http://example.com&#39;</a>);
								res.location(&#39;../login&#39;);</p>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>url: <span class="tsd-signature-type">string</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
							<p>for chaining</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="redirect" class="tsd-anchor"></a>
					<h3>redirect</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">redirect<span class="tsd-signature-symbol">(</span>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
						<li class="tsd-signature tsd-kind-icon">redirect<span class="tsd-signature-symbol">(</span>statusCode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Status</span>, url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#redirect">redirect</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L539">home/runner/work/opine/opine/src/response.ts:539</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Redirect to the given <code>url</code> with optional response <code>status</code>
									defaulting to <code>302</code>.</p>
								</div>
								<p>The resulting <code>url</code> is determined by <code>res.location()</code>.</p>
								<p>Examples:</p>
								<p>   res.redirect(&#39;/foo/bar&#39;);
									res.redirect(&#39;<a href="http://example.com&#39;">http://example.com&#39;</a>);
									res.redirect(301, &#39;<a href="http://example.com&#39;">http://example.com&#39;</a>);
								res.redirect(&#39;../login&#39;); // /blog/post/1 -&gt; /blog/login</p>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>url: <span class="tsd-signature-type">string</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#redirect">redirect</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L540">home/runner/work/opine/opine/src/response.ts:540</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>statusCode: <span class="tsd-signature-type">Status</span></h5>
								</li>
								<li>
									<h5>url: <span class="tsd-signature-type">string</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="removeheader" class="tsd-anchor"></a>
					<h3>remove<wbr>Header</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">remove<wbr>Header<span class="tsd-signature-symbol">(</span>field<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#removeheader">removeHeader</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L603">home/runner/work/opine/opine/src/response.ts:603</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Remove a header from the response</p>
								</div>
								<p>Examples:</p>
								<pre><code><span class="hljs-selector-tag">res</span><span class="hljs-selector-class">.removeHeader</span>(<span class="hljs-string">&#x27;Accept&#x27;</span>);
</code></pre>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>field: <span class="tsd-signature-type">string</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
							<p>for chaining</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="render" class="tsd-anchor"></a>
					<h3>render</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">render<span class="tsd-signature-symbol">(</span>view<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span>, callback<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L620">home/runner/work/opine/opine/src/response.ts:620</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Render <code>view</code> with the given <code>options</code> and optional callback <code>fn</code>.
										When a callback function is given a response will <em>not</em> be made
									automatically, otherwise a response of <em>200</em> and <em>text/html</em> is given.</p>
								</div>
								<p>Options:</p>
								<ul>
									<li><code>cache</code>     boolean hinting to the engine it should cache</li>
									<li><code>filename</code>  filename of the view being rendered</li>
								</ul>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>view: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> options: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> = {}</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> callback: <span class="tsd-signature-type">any</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="send" class="tsd-anchor"></a>
					<h3>send</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">send<span class="tsd-signature-symbol">(</span>body<span class="tsd-signature-symbol">: </span><a href="../modules/_types_.html#responsebody" class="tsd-signature-type">ResponseBody</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L660">home/runner/work/opine/opine/src/response.ts:660</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Send a response.</p>
								</div>
								<p>Examples:</p>
								<pre><code>res.<span class="hljs-built_in">send</span>({ some: <span class="hljs-string">&#x27;json&#x27;</span> })<span class="hljs-comment">;</span>
res.<span class="hljs-built_in">send</span>(<span class="hljs-string">&#x27;&lt;p&gt;some html&lt;/p&gt;&#x27;</span>)<span class="hljs-comment">;</span>
</code></pre>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>body: <a href="../modules/_types_.html#responsebody" class="tsd-signature-type">ResponseBody</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
							<p>for chaining</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="sendfile" class="tsd-anchor"></a>
					<h3>send<wbr>File</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">send<wbr>File<span class="tsd-signature-symbol">(</span>path<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">this</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#sendfile">sendFile</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L735">home/runner/work/opine/opine/src/response.ts:735</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Transfer the file at the given <code>path</code>.</p>
								</div>
								<p>Automatically sets the <em>Content-Type</em> response header field.</p>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>path: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> options: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> = {}</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">this</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="sendstatus" class="tsd-anchor"></a>
					<h3>send<wbr>Status</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">send<wbr>Status<span class="tsd-signature-symbol">(</span>code<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Status</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#sendstatus">sendStatus</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L794">home/runner/work/opine/opine/src/response.ts:794</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Send given HTTP status code.</p>
								</div>
								<p>Sets the response status to <code>code</code> and the body of the
									response to the standard description from deno&#39;s http_status.STATUS_TEXT
								or the code number if no description.</p>
								<p>Examples:</p>
								<pre><code>res.sendStatus(<span class="hljs-number">200</span>)<span class="hljs-comment">;</span>
</code></pre>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>code: <span class="tsd-signature-type">Status</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
							<p>for chaining</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="set" class="tsd-anchor"></a>
					<h3>set</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<span class="tsd-signature-symbol">(</span>field<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
						<li class="tsd-signature tsd-kind-icon">set<span class="tsd-signature-symbol">(</span>obj<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#set">set</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L819">home/runner/work/opine/opine/src/response.ts:819</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set header <code>field</code> to <code>value</code>, or pass
									an object of header fields.</p>
								</div>
								<p>Examples:</p>
								<pre><code>res.<span class="hljs-builtin-name">set</span>(<span class="hljs-string">&#x27;Accept&#x27;</span>, <span class="hljs-string">&#x27;application/json&#x27;</span>);
res.<span class="hljs-builtin-name">set</span>({
  <span class="hljs-string">&#x27;Accept-Language&#x27;</span>: <span class="hljs-string">&#x27;en-US, en;q=0.5&#x27;</span>,
  <span class="hljs-string">&#x27;Accept&#x27;</span>: <span class="hljs-string">&#x27;text/html&#x27;</span>,
});
</code></pre>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>field: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5>value: <span class="tsd-signature-type">string</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
							<p>for chaining</p>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#set">set</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L820">home/runner/work/opine/opine/src/response.ts:820</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>obj: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setheader" class="tsd-anchor"></a>
					<h3>set<wbr>Header</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Header<span class="tsd-signature-symbol">(</span>field<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
						<li class="tsd-signature tsd-kind-icon">set<wbr>Header<span class="tsd-signature-symbol">(</span>obj<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#setheader">setHeader</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L860">home/runner/work/opine/opine/src/response.ts:860</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set header <code>field</code> to <code>value</code>, or pass
									an object of header fields.</p>
								</div>
								<p>alias for res.set()</p>
								<p>Examples:</p>
								<pre><code>res.setHeader(<span class="hljs-symbol">&#x27;Accept&#x27;</span>, <span class="hljs-symbol">&#x27;application</span>/json&#x27;);
res.setHeader({
  <span class="hljs-symbol">&#x27;Accept</span>-<span class="hljs-type">Language&#x27;</span>: <span class="hljs-string">&quot;en-US, en;q=0.5&quot;</span>,
  <span class="hljs-symbol">&#x27;Accept&#x27;</span>: <span class="hljs-symbol">&#x27;text</span>/html&#x27;,
});
</code></pre>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>field: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5>value: <span class="tsd-signature-type">string</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
							<p>for chaining</p>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#setheader">setHeader</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L861">home/runner/work/opine/opine/src/response.ts:861</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>obj: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setstatus" class="tsd-anchor"></a>
					<h3>set<wbr>Status</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Status<span class="tsd-signature-symbol">(</span>code<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Status</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#setstatus">setStatus</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L876">home/runner/work/opine/opine/src/response.ts:876</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set status <code>code</code>.</p>
								</div>
								<p>This method deviates from Express due to the naming clash
								with Deno.OpineResponse <code>status</code> property.</p>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>code: <span class="tsd-signature-type">Status</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
							<p>for chaining</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="type" class="tsd-anchor"></a>
					<h3>type</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">type<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#type">type</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L897">home/runner/work/opine/opine/src/response.ts:897</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set <em>Content-Type</em> response header with <code>type</code>.</p>
								</div>
								<p>Examples:</p>
								<pre><code><span class="hljs-title">res</span>.<span class="hljs-keyword">type</span>(&#x27;.html&#x27;);
<span class="hljs-title">res</span>.<span class="hljs-keyword">type</span>(&#x27;html&#x27;);
<span class="hljs-title">res</span>.<span class="hljs-keyword">type</span>(&#x27;json&#x27;);
<span class="hljs-title">res</span>.<span class="hljs-keyword">type</span>(&#x27;application/json&#x27;);
<span class="hljs-title">res</span>.<span class="hljs-keyword">type</span>(&#x27;png&#x27;);
</code></pre>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>type: <span class="tsd-signature-type">string</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
							<p>for chaining</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="unset" class="tsd-anchor"></a>
					<h3>unset</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">unset<span class="tsd-signature-symbol">(</span>field<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/_types_.opineresponse.html">OpineResponse</a>.<a href="../interfaces/_types_.opineresponse.html#unset">unset</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L911">home/runner/work/opine/opine/src/response.ts:911</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Deletes a header.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>field: <span class="tsd-signature-type">string</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
							<p>for chaining</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="vary" class="tsd-anchor"></a>
					<h3>vary</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">vary<span class="tsd-signature-symbol">(</span>field<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/cmorten/opine/blob/bc9a2ab/src/response.ts#L925">home/runner/work/opine/opine/src/response.ts:925</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Add <code>field</code> to Vary. If already present in the Vary set, then
									this call is simply ignored.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>field: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
							<p>for chaining</p>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Globals</em></a>
					</li>
					<li class="current tsd-kind-module">
						<a href="../modules/_response_.html">&quot;response&quot;</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-class tsd-parent-kind-module">
						<a href="_response_.response.html" class="tsd-kind-icon">Response</a>
						<ul>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
								<a href="_response_.response.html#_resources" class="tsd-kind-icon">#resources</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_response_.response.html#app" class="tsd-kind-icon">app</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_response_.response.html#body" class="tsd-kind-icon">body</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_response_.response.html#headers" class="tsd-kind-icon">headers</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_response_.response.html#locals" class="tsd-kind-icon">locals</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_response_.response.html#req" class="tsd-kind-icon">req</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_response_.response.html#status" class="tsd-kind-icon">status</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_response_.response.html#written" class="tsd-kind-icon">written</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#addresource" class="tsd-kind-icon">add<wbr>Resource</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#append" class="tsd-kind-icon">append</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#attachment" class="tsd-kind-icon">attachment</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#clearcookie" class="tsd-kind-icon">clear<wbr>Cookie</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#cookie" class="tsd-kind-icon">cookie</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#download" class="tsd-kind-icon">download</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#end" class="tsd-kind-icon">end</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#etag" class="tsd-kind-icon">etag</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#format" class="tsd-kind-icon">format</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#get" class="tsd-kind-icon">get</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#json" class="tsd-kind-icon">json</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#jsonp" class="tsd-kind-icon">jsonp</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#links" class="tsd-kind-icon">links</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#location" class="tsd-kind-icon">location</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#redirect" class="tsd-kind-icon">redirect</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#removeheader" class="tsd-kind-icon">remove<wbr>Header</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#render" class="tsd-kind-icon">render</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#send" class="tsd-kind-icon">send</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#sendfile" class="tsd-kind-icon">send<wbr>File</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#sendstatus" class="tsd-kind-icon">send<wbr>Status</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#set" class="tsd-kind-icon">set</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#setheader" class="tsd-kind-icon">set<wbr>Header</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#setstatus" class="tsd-kind-icon">set<wbr>Status</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#type" class="tsd-kind-icon">type</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#unset" class="tsd-kind-icon">unset</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_response_.response.html#vary" class="tsd-kind-icon">vary</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer class="with-border-bottom">
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li>
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
				<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
				<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
				<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="container tsd-generator">
	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>